package main
import (
	"fmt"
)
func main(){
	var i int = 10
	fmt.Println("i的地址",&i)
	var ptr *int = &i
	fmt.Printf("ptr=%v\n",ptr)
	fmt.Printf("ptr指向的值=%v\n",*ptr)
	var num int = 10
	fmt.Printf("num的值=%v\n",num) 
	var ptr1 *int = &num
	*ptr1 = 11
	fmt.Printf("num的值=%v\n",num) 
	var a int = 1
	var b int = 2
	a += b
	fmt.Println(a)
}